package com.example.orderserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class OrderVO {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="卖家id", example = "1")
    private String sellId;
    @ApiModelProperty(value="卖家账号", example = "1")
    private String sellAccount;
    @ApiModelProperty(value="卖家用户名", example = "1")
    private String sellName;
    @ApiModelProperty(value="卖家头像", example = "1")
    private String sellPhoto;
    @ApiModelProperty(value="卖家地址", example = "1")
    private String address;
    @ApiModelProperty(value="买家id", example = "1")
    private String buyId;
    @ApiModelProperty(value="买家账号", example = "1")
    private String buyAccount;
    @ApiModelProperty(value="买家用户名", example = "1")
    private String buyName;
    @ApiModelProperty(value="买家头像", example = "1")
    private String buyPhoto;
    @ApiModelProperty(value="商品标题", example = "1")
    private String title;
    @ApiModelProperty(value="内容", example = "1")
    private String goodsId;
    @ApiModelProperty(value="金额", example = "1")
    private Double price;
    @ApiModelProperty(value="商品图片地址", example = "1")
    private String photo;
    @ApiModelProperty(value="订单状态", example = "1")
    private int status;
    @ApiModelProperty(value="交易方式 1.自取 2.送货上门 3.约定地点交货", example = "1")
    private int method;
    @ApiModelProperty(value="商品支持的交易方式 1.自取 2.送货上门 3.约定地点交货", example = "1")
    private String methods;
    @ApiModelProperty(value="订单备注", example = "1")
    private String remark;
    @ApiModelProperty(value="创建时间")
    private Date createTime;
    @ApiModelProperty(value="更新时间")
    private Date updateTime;
}
